from django.conf.urls import url
from . import views

urlpatterns = [
    #/orders/places/
    # 获取提交订单的数据
    url(r'^places/$',views.PlaceOrderView.as_view(),name='placeorder'),
    # 提交订单
    url(r'^$',views.OrderCreateAPIView.as_view()),
]